package com.gxa.web_admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动类
 */
@SpringBootApplication
//开启cach缓存
@EnableCaching
@MapperScan(basePackages = {"com.gxa.modules.mapper.accessmapper","com.gxa.modules.mapper.datavisualizationmapper",
                            "com.gxa.modules.mapper.operationsmapper","com.gxa.modules.mapper.propertymapper"})
public class SpringBootProjectStart {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootProjectStart.class);
    }
}
